package com.neusoft.zygh.model;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.annotation.JsonFormat;

/**
 * 描述：值班
 * 
 * 创建时间：2018/10/01 17:00
 */
public class Duty{
	
	private	Integer id;
	
	/**
	 * 医馆id
	 */
	private	Integer hospitalid;
	
	/**
	 * 医馆名称
	 */
	private String hospitalname;
	
	/**
	 * 医生id
	 */
	private	Integer doctorid;
	
	/**
	 * 医生姓名
	 */
	private String doctorname;
	
	/**
	 * 值班开始时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	private	java.util.Date dutyStartTime;
	
	/**
	 * 值班结束时间
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm")
	private	java.util.Date dutyEndTime;
	
	/**
	 * 值班日期
	 */
	@DateTimeFormat(pattern="yyyy-MM-dd")
	private	java.util.Date dutyDate;
	
	
	
	public String getHospitalname() {
		return hospitalname;
	}

	public void setHospitalname(String hospitalname) {
		this.hospitalname = hospitalname;
	}

	public String getDoctorname() {
		return doctorname;
	}

	public void setDoctorname(String doctorname) {
		this.doctorname = doctorname;
	}

	public Integer getId(){
		return id;
	}
	
	public void setId(Integer id){
		this.id=id;
	}
	public Integer getHospitalid(){
		return hospitalid;
	}
	
	public void setHospitalid(Integer hospitalid){
		this.hospitalid=hospitalid;
	}
	public Integer getDoctorid(){
		return doctorid;
	}
	
	public void setDoctorid(Integer doctorid){
		this.doctorid=doctorid;
	}
	
	@JsonFormat(pattern="HH:mm",timezone = "GMT+8")
	public java.util.Date getDutyStartTime(){
		return dutyStartTime;
	}
	
	public void setDutyStartTime(java.util.Date dutyStartTime){
		this.dutyStartTime=dutyStartTime;
	}
	
	@JsonFormat(pattern="HH:mm",timezone = "GMT+8")
	public java.util.Date getDutyEndTime(){
		return dutyEndTime;
	}
	
	public void setDutyEndTime(java.util.Date dutyEndTime){
		this.dutyEndTime=dutyEndTime;
	}
	@JsonFormat(pattern="yyyy-MM-dd",timezone = "GMT+8")
	public java.util.Date getDutyDate(){
		return dutyDate;
	}
	
	public void setDutyDate(java.util.Date dutyDate){
		this.dutyDate=dutyDate;
	}
	
	
}
